Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,8 +69,13 @@ def bot_streaming(message, history, max_new_tokens=250):
|
|
| 69 |
time.sleep(0.01)
|
| 70 |
yield buffer
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
-
demo = gr.ChatInterface(fn=bot_streaming, title="Multimodal Llama", examples=[
|
| 74 |
[{"text": "Which era does this piece belong to? Give details about the era.", "files":["./examples/rococo.jpg"]},
|
| 75 |
200],
|
| 76 |
[{"text": "Where do the droughts happen according to this diagram?", "files":["./examples/weather_events.png"]},
|
|
|
|
| 69 |
time.sleep(0.01)
|
| 70 |
yield buffer
|
| 71 |
|
| 72 |
+
css = """
|
| 73 |
+
footer {
|
| 74 |
+
visibility: hidden;
|
| 75 |
+
}
|
| 76 |
+
"""
|
| 77 |
|
| 78 |
+
demo = gr.ChatInterface(theme="Yntec/HaleyCH_Theme_Orange", css=css,fn=bot_streaming, title="Multimodal Llama", examples=[
|
| 79 |
[{"text": "Which era does this piece belong to? Give details about the era.", "files":["./examples/rococo.jpg"]},
|
| 80 |
200],
|
| 81 |
[{"text": "Where do the droughts happen according to this diagram?", "files":["./examples/weather_events.png"]},
|