Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
from huggingface_hub import InferenceClient
|
4 |
|
5 |
"""
|
@@ -58,8 +58,8 @@ demo = gr.ChatInterface(
|
|
58 |
label="Top-p (nucleus sampling)",
|
59 |
),
|
60 |
],
|
61 |
-
theme=Interstellar()
|
62 |
)
|
63 |
|
64 |
if __name__ == "__main__":
|
65 |
-
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
+
from gradio.themes import Interstellar # Correct import
|
3 |
from huggingface_hub import InferenceClient
|
4 |
|
5 |
"""
|
|
|
58 |
label="Top-p (nucleus sampling)",
|
59 |
),
|
60 |
],
|
61 |
+
theme=Interstellar() # Correctly apply the theme
|
62 |
)
|
63 |
|
64 |
if __name__ == "__main__":
|
65 |
+
demo.launch()
|