bstraehle commited on
Commit
7c43bd9
1 Parent(s): 2acdb22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ def process(model_id, dataset):
14
  model.save_pretrained(model_path)
15
  login(token=os.environ["HF_TOKEN"])
16
  api = HfApi()
17
- model_repo_name = f"bstraehle/{model_id}"
18
 
19
  #Create Repo in Hugging Face
20
  print("333")
@@ -34,7 +34,7 @@ def process(model_id, dataset):
34
  return "Done"
35
 
36
  demo = gr.Interface(fn=process,
37
- inputs=[gr.Textbox(label = "Model ID", value = "google/gemma-7b", lines = 1),
38
  gr.Textbox(label = "Dataset", value = "imdb", lines = 1)],
39
  outputs=[gr.Textbox(label = "Completion")])
40
  demo.launch()
 
14
  model.save_pretrained(model_path)
15
  login(token=os.environ["HF_TOKEN"])
16
  api = HfApi()
17
+ model_repo_name = "bstraehle/gemma-2b"
18
 
19
  #Create Repo in Hugging Face
20
  print("333")
 
34
  return "Done"
35
 
36
  demo = gr.Interface(fn=process,
37
+ inputs=[gr.Textbox(label = "Model ID", value = "google/gemma-2b", lines = 1),
38
  gr.Textbox(label = "Dataset", value = "imdb", lines = 1)],
39
  outputs=[gr.Textbox(label = "Completion")])
40
  demo.launch()