Spaces:
Runtime error
Runtime error
AFischer1985
commited on
Commit
·
4cef1a6
1
Parent(s):
48847f0
Update run.py
Browse files
run.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# Title: Gradio Interface to AI hosted by Huggingface
|
3 |
# Author: Andreas Fischer
|
4 |
# Date: October 7th, 2023
|
5 |
-
# Last update: December
|
6 |
#############################################################################
|
7 |
|
8 |
import gradio as gr
|
@@ -47,6 +47,7 @@ x.insert(0,"Default")
|
|
47 |
|
48 |
gr.ChatInterface(
|
49 |
response,
|
|
|
50 |
additional_inputs=[gr.Dropdown(x,value="Default",label="Model")]).queue().launch(share=True) #False, server_name="0.0.0.0", server_port=7864)
|
51 |
|
52 |
|
|
|
2 |
# Title: Gradio Interface to AI hosted by Huggingface
|
3 |
# Author: Andreas Fischer
|
4 |
# Date: October 7th, 2023
|
5 |
+
# Last update: December 29th, 2023
|
6 |
#############################################################################
|
7 |
|
8 |
import gradio as gr
|
|
|
47 |
|
48 |
gr.ChatInterface(
|
49 |
response,
|
50 |
+
title="AI-Interface to HuggingFace-Models",
|
51 |
additional_inputs=[gr.Dropdown(x,value="Default",label="Model")]).queue().launch(share=True) #False, server_name="0.0.0.0", server_port=7864)
|
52 |
|
53 |
|