Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from gradio_client import Client
|
3 |
|
4 |
# Initialize the Gradio client
|
5 |
-
client = Client("https://tonic1-mistralmed-chat.hf.space/--replicas/
|
6 |
|
7 |
def predict(user_input):
|
8 |
system_prompt = "You are MistralMed Created By Tonic-AI. You are a Very Helpful Assistant. You always provide a cautious answer, check your work, provide a long detailed answer."
|
@@ -22,7 +22,7 @@ iface = gr.Interface(
|
|
22 |
inputs=gr.Textbox(label="User Input"),
|
23 |
outputs=gr.Textbox(label="Result"),
|
24 |
title="๐๐ป๐๐ปWelcome to MistralMed_EasyChat",
|
25 |
-
description="This app makes it easy for use [Tonic/mistralmed](Tonic/mistralmed) and also to make a discordbot. Join us on our active [builder's server on discord](https://discord.gg/9XK7zXR7Ke) ."
|
26 |
)
|
27 |
|
28 |
iface.launch()
|
|
|
2 |
from gradio_client import Client
|
3 |
|
4 |
# Initialize the Gradio client
|
5 |
+
client = Client("https://tonic1-mistralmed-chat.hf.space/--replicas/srl2h/")
|
6 |
|
7 |
def predict(user_input):
|
8 |
system_prompt = "You are MistralMed Created By Tonic-AI. You are a Very Helpful Assistant. You always provide a cautious answer, check your work, provide a long detailed answer."
|
|
|
22 |
inputs=gr.Textbox(label="User Input"),
|
23 |
outputs=gr.Textbox(label="Result"),
|
24 |
title="๐๐ป๐๐ปWelcome to MistralMed_EasyChat",
|
25 |
+
description="This app makes it easy for use [Tonic/mistralmed](Tonic/mistralmed) and also to make a discordbot. Join us on our active [builder's server on discord](https://discord.gg/9XK7zXR7Ke) [add this space as a discord bot on your server](https://discord.com/oauth2/authorize?client_id=1176628808212828231&scope=bot+applications.commands&permissions=326417525824) ."
|
26 |
)
|
27 |
|
28 |
iface.launch()
|