change sharegradio from true to false, since share not works in space
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def main(
|
|
| 27 |
lora_weights: str = "./",#adapter_model.bin
|
| 28 |
prompt_template: str = "med_template", # The prompt template to use, will default to alpaca.
|
| 29 |
server_name: str = "0.0.0.0", # Allows to listen on all interfaces by providing '0.0.0.0'
|
| 30 |
-
share_gradio: bool =
|
| 31 |
):
|
| 32 |
assert (
|
| 33 |
base_model
|
|
|
|
| 27 |
lora_weights: str = "./",#adapter_model.bin
|
| 28 |
prompt_template: str = "med_template", # The prompt template to use, will default to alpaca.
|
| 29 |
server_name: str = "0.0.0.0", # Allows to listen on all interfaces by providing '0.0.0.0'
|
| 30 |
+
share_gradio: bool = False, #True
|
| 31 |
):
|
| 32 |
assert (
|
| 33 |
base_model
|