Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,17 +122,7 @@ def process_text(conversation, text):
|
|
| 122 |
print(completion.choices[0].message.content.strip())
|
| 123 |
return completion.choices[0].message.content.strip()
|
| 124 |
|
| 125 |
-
def inference(text):
|
| 126 |
-
html = (
|
| 127 |
-
"<div >"
|
| 128 |
-
"<img src='C://Users//l//Desktop//pythonProject33//thumbnail_IAI_icon.png' alt='image One'>"
|
| 129 |
-
+ "</div>"
|
| 130 |
-
)
|
| 131 |
-
return html
|
| 132 |
with gr.Blocks(title="hi") as app2:
|
| 133 |
-
gr.HTML("""<img src="C://Users//l//Desktop//pythonProject33//thumbnail_IAI_icon.png" alt="A beautiful landscape">""")
|
| 134 |
-
gr.Markdown("""<h1><center>Interview Phase 1</center></h1>
|
| 135 |
-
<img src="thumbnail_IAI_icon.png" >""")
|
| 136 |
chatbot = gr.Chatbot()
|
| 137 |
|
| 138 |
msg = gr.Textbox()
|
|
|
|
| 122 |
print(completion.choices[0].message.content.strip())
|
| 123 |
return completion.choices[0].message.content.strip()
|
| 124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
with gr.Blocks(title="hi") as app2:
|
|
|
|
|
|
|
|
|
|
| 126 |
chatbot = gr.Chatbot()
|
| 127 |
|
| 128 |
msg = gr.Textbox()
|