Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import streamlit as st
|
|
6 |
|
7 |
# Update with your local file paths
|
8 |
|
9 |
-
model_directory = '
|
10 |
|
11 |
# Load the fine-tuned GPT-2 model and tokenizer
|
12 |
model = GPT2LMHeadModel.from_pretrained(model_directory)
|
|
|
6 |
|
7 |
# Update with your local file paths
|
8 |
|
9 |
+
model_directory = '/MyModels'
|
10 |
|
11 |
# Load the fine-tuned GPT-2 model and tokenizer
|
12 |
model = GPT2LMHeadModel.from_pretrained(model_directory)
|