Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
import spaces
|
7 |
|
8 |
# Initialize the client with your model
|
9 |
-
client = InferenceClient("
|
10 |
|
11 |
default_system = 'You are a helpful assistant'
|
12 |
|
@@ -57,7 +57,7 @@ unicorn_example = "In a shocking finding, scientist discovered a herd of unicorn
|
|
57 |
time_travel_example = "Explain the grandfather paradox in time travel and propose a potential resolution."
|
58 |
|
59 |
with gr.Blocks() as demo:
|
60 |
-
gr.Markdown("<h1 style='text-align: center;'>LLM.C 1.5B Chat Demo
|
61 |
|
62 |
with gr.Row():
|
63 |
with gr.Column(scale=3):
|
|
|
6 |
import spaces
|
7 |
|
8 |
# Initialize the client with your model
|
9 |
+
client = InferenceClient("karpathy/gpt2_1558M_final2_hf") # Replace with your model's name or endpoint
|
10 |
|
11 |
default_system = 'You are a helpful assistant'
|
12 |
|
|
|
57 |
time_travel_example = "Explain the grandfather paradox in time travel and propose a potential resolution."
|
58 |
|
59 |
with gr.Blocks() as demo:
|
60 |
+
gr.Markdown("<h1 style='text-align: center;'>LLM.C 1.5B Chat Demo</h1>")
|
61 |
|
62 |
with gr.Row():
|
63 |
with gr.Column(scale=3):
|