Skip to content

Conversation

haroon10725
Copy link
Contributor

No description provided.

@haroon10725 haroon10725 marked this pull request as draft August 17, 2025 04:18
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@haroon10725 haroon10725 marked this pull request as ready for review August 24, 2025 12:12
@haroon10725
Copy link
Contributor Author

@walterbender Can you please review it.

@walterbender
Copy link
Member

Hmm. When an error occurs (e.g., cross-origin error) it still tries to generate (or at least the Generating message keeps flashing.)

@walterbender
Copy link
Member

I get cross-origin errors when running from a local server. Any suggestions?

@haroon10725
Copy link
Contributor Author

@walterbender Try running index.html directly from the folder.

@walterbender
Copy link
Member

I tried that first. I got cross-origin errors that way too.

@haroon10725
Copy link
Contributor Author

I tried that first. I got cross-origin errors that way too.

Can you please share the error?

@walterbender
Copy link
Member

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8000/generate?prompt=. (Reason: CORS request did not succeed). Status code: (null).

@haroon10725
Copy link
Contributor Author

haroon10725 commented Aug 25, 2025

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8000/generate?prompt=. (Reason: CORS request did not succeed). Status code: (null).

Is FastAPI server running successfully? Were you able to set the backend repo locally? At the moment backend is not hosted on AWS.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

github-actions bot commented Oct 5, 2025

✅ All Jest tests passed! This PR is ready to merge.

Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants