Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -159,7 +159,7 @@ with placeholder.container():
|
|
| 159 |
|
| 160 |
div = f"""
|
| 161 |
<div class="chat-row">
|
| 162 |
-
<img class="chat-icon" src="static/ai_icon.png" width=32 height=32>
|
| 163 |
<div class="chat-bubble ai-bubble">
|
| 164 |
{question_html}
|
| 165 |
</div>
|
|
@@ -170,7 +170,7 @@ with placeholder.container():
|
|
| 170 |
user_response_html = f"Your answer: {interaction['user_response']}"
|
| 171 |
div = f"""
|
| 172 |
<div class="chat-row row-reverse">
|
| 173 |
-
<img class="chat-icon" src="static/user_icon.png" width=32 height=32>
|
| 174 |
<div class="chat-bubble human-bubble">
|
| 175 |
{user_response_html}
|
| 176 |
</div>
|
|
@@ -184,7 +184,7 @@ with placeholder.container():
|
|
| 184 |
feedback_html = f"Correct! The correct answer is: {interaction['correct_answer']}" if interaction['is_correct'] else f"Wrong. The correct answer is: {interaction['correct_answer']}"
|
| 185 |
div = f"""
|
| 186 |
<div class="chat-row">
|
| 187 |
-
<img class="chat-icon" src="static/ai_icon.png" width=32 height=32>
|
| 188 |
<div class="chat-bubble ai-bubble">
|
| 189 |
{feedback_html}
|
| 190 |
</div>
|
|
|
|
| 159 |
|
| 160 |
div = f"""
|
| 161 |
<div class="chat-row">
|
| 162 |
+
<img class="chat-icon" src="Dev-Bot/static/ai_icon.png" width=32 height=32>
|
| 163 |
<div class="chat-bubble ai-bubble">
|
| 164 |
{question_html}
|
| 165 |
</div>
|
|
|
|
| 170 |
user_response_html = f"Your answer: {interaction['user_response']}"
|
| 171 |
div = f"""
|
| 172 |
<div class="chat-row row-reverse">
|
| 173 |
+
<img class="chat-icon" src="Dev-Bot/static/user_icon.png" width=32 height=32>
|
| 174 |
<div class="chat-bubble human-bubble">
|
| 175 |
{user_response_html}
|
| 176 |
</div>
|
|
|
|
| 184 |
feedback_html = f"Correct! The correct answer is: {interaction['correct_answer']}" if interaction['is_correct'] else f"Wrong. The correct answer is: {interaction['correct_answer']}"
|
| 185 |
div = f"""
|
| 186 |
<div class="chat-row">
|
| 187 |
+
<img class="chat-icon" src="Dev-Bot/static/ai_icon.png" width=32 height=32>
|
| 188 |
<div class="chat-bubble ai-bubble">
|
| 189 |
{feedback_html}
|
| 190 |
</div>
|