Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from urllib.request import urlopen
|
|
4 |
import json
|
5 |
import time
|
6 |
from load_llms import model_choices, llm_intro, load_model
|
|
|
7 |
|
8 |
|
9 |
# Construct chatbot
|
@@ -38,7 +39,7 @@ with gr.Blocks(
|
|
38 |
# Link the dropdown with the textbox to update the description based on the selected model
|
39 |
model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
|
40 |
|
41 |
-
gr.Textbox(value=f"{space_hardware}\n2 vCPU • 16 GB RAM \nFree tier", label="Space Hardware use")
|
42 |
|
43 |
|
44 |
with gr.Column(scale=4, elem_id='col'):
|
|
|
4 |
import json
|
5 |
import time
|
6 |
from load_llms import model_choices, llm_intro, load_model
|
7 |
+
from config import space_hardware
|
8 |
|
9 |
|
10 |
# Construct chatbot
|
|
|
39 |
# Link the dropdown with the textbox to update the description based on the selected model
|
40 |
model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
|
41 |
|
42 |
+
gr.Textbox(value=f"{space_hardware()}\n2 vCPU • 16 GB RAM \nFree tier", label="Space Hardware use")
|
43 |
|
44 |
|
45 |
with gr.Column(scale=4, elem_id='col'):
|